var express = require('express');
var app = express();

var user = require('../model/user/controller/user');
var article = require('../model/article/controller/article');

app.use("/user", user)
app.use("/article", article)

app.get('*', function (req, res) {
    res.json({ success: 0, data: 404 })
});

module.exports = app;
